home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
clang
/
tkern091.zip
/
INCLUDE
/
SYS
/
TKEXEC.H
< prev
next >
Wrap
Text File
|
1994-03-06
|
1KB
|
50 lines
/*
* This file forms part of "TKERN" - "Troy's Kernel for Windows".
*
* Copyright (C) 1994 Troy Rollo <troy@cbme.unsw.EDU.AU>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef __tkexec_h
#define __tkexec_h
#ifndef __WINDOWS_H
#include <windows.h>
#endif
#define fork() (tkern_fork() == -1 ? -1 : Catch(fork_buf))
extern CATCHBUF fork_buf;
extern int tkern_fork(void);
extern void execl( char const *pchPath, ...);
extern void execl_ext( char const *pchCmdLine,
char const *pchPath,
...);
extern void execv( char const *pchPath,
void const *ppchArgs);
extern void execv_ext( char const *pchCmdLine,
char const *pchPath,
void const *ppchArgs);
extern int kill(int, int);
#endif __tkexec_h